/*******************************************************************
 *
 * Copyright (C), 2021-2022, LS, All rights reserved.
 *
 * Author      : 
 * Create Time : 2020-12-14
 * Version     : v0.1
 * Description : 
 *******************************************************************/
#ifndef _DISP_IMG_CONFIG_H_
#define _DISP_IMG_CONFIG_H_

/*----------------------------Head file----------------------------*/

/*----------------------------macro file---------------------------*/

#define UI_LIB_MAJOR_VER            1       //change image
#define UI_LIB_MINOR_VER            0       //add image +1

#define SF_IMG_ADDR_START           0x6B000

//Number
#define FLS_NUM_23_W                14
#define FLS_NUM_23_H                20
#define FLS_NUM_23_SIZE             (FLS_NUM_23_W*FLS_NUM_23_H*2*10)	// 0123456789
#define FLS_NUM_23_START_ADDR       (SF_IMG_ADDR_START)
#define FLS_NUM_23_END_ADDR         (FLS_NUM_23_START_ADDR + FLS_NUM_23_SIZE)

#define FLS_NUM_33_W                18
#define FLS_NUM_33_H                28
#define FLS_NUM_33_SIZE             (FLS_NUM_33_W*FLS_NUM_33_H*2*10)	// 0123456789
#define FLS_NUM_33_START_ADDR       (FLS_NUM_23_END_ADDR)
#define FLS_NUM_33_END_ADDR         (FLS_NUM_33_START_ADDR + FLS_NUM_33_SIZE)

//Batt icon
#define ICON_BATT_W                 25
#define ICON_BATT_H                 15
#define ICON_BATT_SIZE              (ICON_BATT_W*ICON_BATT_H*2*4)
#define ICON_BATT_START_ADDR        (FLS_NUM_33_END_ADDR)
#define ICON_BATT_END_ADDR          (ICON_BATT_START_ADDR + ICON_BATT_SIZE)

//Skip mode icon
#define ICON_SKIP_MODE_W            32
#define ICON_SKIP_MODE_H            32
#define ICON_SKIP_MODE_SIZE         (ICON_SKIP_MODE_W*ICON_SKIP_MODE_H*2*3)           //COUNTDOWN_TIME, COUNTDOWN_NUM, FREE
#define ICON_SKIP_MODE_START_ADDR   (ICON_BATT_END_ADDR)
#define ICON_SKIP_MODE_END_ADDR     (ICON_SKIP_MODE_START_ADDR + ICON_SKIP_MODE_SIZE)

//Skip mode text
#define TEXT_SKIP_MODE_W            56
#define TEXT_SKIP_MODE_H            21
#define TEXT_SKIP_MODE_SIZE         (TEXT_SKIP_MODE_W*TEXT_SKIP_MODE_H*2*3)           //COUNTDOWN_TIME, COUNTDOWN_NUM, FREE
#define TEXT_SKIP_MODE_START_ADDR   (ICON_SKIP_MODE_END_ADDR)
#define TEXT_SKIP_MODE_END_ADDR     (TEXT_SKIP_MODE_START_ADDR + TEXT_SKIP_MODE_SIZE)

//BLE icon
#define ICON_BLE_W                  11
#define ICON_BLE_H                  15
#define ICON_BLE_SIZE               (ICON_BLE_W*ICON_BLE_H*2)
#define ICON_BLE_START_ADDR         (TEXT_SKIP_MODE_END_ADDR)
#define ICON_BLE_END_ADDR           (ICON_BLE_START_ADDR + ICON_BLE_SIZE)

//Colon
#define ICON_COLON_W                6
#define ICON_COLON_H                16
#define ICON_COLON_SIZE             (ICON_COLON_W*ICON_COLON_H*2)
#define ICON_COLON_START_ADDR       (ICON_BLE_END_ADDR)
#define ICON_COLON_END_ADDR         (ICON_COLON_START_ADDR + ICON_COLON_SIZE)

//User head icon
#define ICON_HEAD_W                 35
#define ICON_HEAD_H                 35
#define ICON_HEAD_SIZE              (ICON_HEAD_W*ICON_HEAD_H*2)
#define ICON_HEAD_START_ADDR        (ICON_COLON_END_ADDR)
#define ICON_HEAD_END_ADDR          (ICON_HEAD_START_ADDR + ICON_HEAD_SIZE)

//LO
#define ICON_LO_W                   40
#define ICON_LO_H                   24
#define ICON_LO_SIZE                (ICON_LO_W*ICON_LO_H*2)
#define ICON_LO_START_ADDR          (ICON_HEAD_END_ADDR)
#define ICON_LO_END_ADDR            (ICON_LO_START_ADDR + ICON_LO_SIZE)

//Update icon
#define ICON_OTA_W                  36
#define ICON_OTA_H                  37
#define ICON_OTA_SIZE               (ICON_OTA_W*ICON_OTA_H*2)
#define ICON_OTA_START_ADDR         (ICON_LO_END_ADDR)
#define ICON_OTA_END_ADDR           (ICON_OTA_START_ADDR + ICON_OTA_SIZE)

//Update text
#define TEXT_OTA_W                  69
#define TEXT_OTA_H                  19
#define TEXT_OTA_SIZE               (TEXT_OTA_W*TEXT_OTA_H*2)
#define TEXT_OTA_START_ADDR         (ICON_OTA_END_ADDR)
#define TEXT_OTA_END_ADDR           (TEXT_OTA_START_ADDR + TEXT_OTA_SIZE)

#endif

